Skip to content

feat: Add minimal Array.store_chunk support#48

Merged
kylebarron merged 5 commits into
mainfrom
kyle/store-chunk
Jun 23, 2026
Merged

feat: Add minimal Array.store_chunk support#48
kylebarron merged 5 commits into
mainfrom
kyle/store-chunk

Conversation

@kylebarron

@kylebarron kylebarron commented Jun 23, 2026

Copy link
Copy Markdown
Member

Change list

  • New APIs:
    • compact_chunk, erase_chunk, erase_metadata, store_chunk, store_encoded_chunk, and the async versions of those.
  • implement FromPyObject for ArrayBytes so that it can be used in the async API as well. It will necessarily Clone the offsets: Vec<usize> when being uploaded in the async API because of lifetime restrictions. That's a relatively small cost to pay and we could revisit that in the future.

Right now, store_chunk only takes in ArrayBytes, but #47 will track the conversion of other more structured data types into ArrayBytes

@kylebarron kylebarron enabled auto-merge (squash) June 23, 2026 21:18
@kylebarron kylebarron disabled auto-merge June 23, 2026 21:18
@kylebarron kylebarron enabled auto-merge (squash) June 23, 2026 21:19
@kylebarron kylebarron merged commit f8d931b into main Jun 23, 2026
6 checks passed
@kylebarron kylebarron deleted the kyle/store-chunk branch June 23, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant